home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / 140_01.zip / CLOCK.H < prev    next >
Text File  |  1993-06-26  |  1KB  |  19 lines

  1. #define    CLKCMD    0X5A        /* Command port for Godbout SS 1 clock */
  2. #define CDATA    CLKCMD+1    /* Data port for Godbout SS 1 clock */
  3. #define    CLOCK    0 
  4. #define SEC1    CLOCK        /* Unit seconds digit address */
  5. #define SEC10    CLOCK+1        /* Tens of seconds digit address */
  6. #define MIN1    CLOCK+2        /* Unit miniutes digit address */
  7. #define MIN10    CLOCK+3        /* Tens of minutes digit address */
  8. #define HOUR1    CLOCK+4        /* Unit hours digit address */
  9. #define HOUR10    CLOCK+5        /* Tens of hours digit address */
  10. #define WDAY    CLOCK+6        /* Day of week digit address */
  11. #define DAY1    CLOCK+7        /* Unit days digit address */
  12. #define DAY10    CLOCK+8        /* Tens of days digit address */
  13. #define MONTH1    CLOCK+9        /* Unit months digit address */
  14. #define    MONTH10 CLOCK+10    /* Tens of months digit address */
  15. #define YEAR1    CLOCK+11    /* Unit years digit address*/
  16. #define    YEAR10    CLOCK+12    /* Tens of years digit address*/
  17. #define MASK    0X000F        /* Digit bit mask, lower 4 bits BDC digit */
  18. #define    CREAD    0X10
  19.